using System;

using EMan.Common.EnterpriseStructure;
using EMan.Interface.EnterpriseStructure;

using TrueCode.Core.EditableEntity;

namespace EMan.BL.EnterpriseStructure
{
  public class EmployeeNode : StructureTreeNode< Employee >, IEmployeeNode
  {
    public EmployeeNode( Employee entity, bool isNew ) : base( entity, isNew )
    {
    }

    #region Implementation of IStructureTreeNode
    public string Title
    {
      get { return Current.NickName; }
    }
    #endregion
  }
}